* {
  margin: 0 auto;
  padding: 0;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  background: rgb(86, 1, 197);
  display: flex;
  justify-content: center;
  align-items: center;
}

.player {
  width: 70rem;
  overflow: hidden;
  position: relative;
  border-radius: 0.5rem;
  box-shadow: 0 0 1rem black, 6rem 0 0 -3rem rgb(201, 199, 199),
    6rem 0 1rem -3rem #111, 12rem 0 0 -7rem rgb(201, 199, 199),
    12rem 0 1rem -7rem #111, 16.4rem 0 0 -10rem rgb(201, 199, 199),
    16.4rem 0 1rem -10rem #111, 20.3rem 0 0 -13rem rgb(201, 199, 199),
    20.3rem 0 1rem -13rem #111, 23rem 0 0 -15rem rgb(201, 199, 199),
    23rem 0 1rem -15rem #111, 26rem 0 0 -17.4rem rgb(201, 199, 199),
    26rem 0 0 -17.4rem #111;
  transform: perspective(100px) rotateY(-2deg);
  transition: all 0.5s;
  transition-timing-function: cubic-bezier(0, -1, 0, 1.44);
}

.fullPlayer {
  width: 100%;
  height: 100%;
  transform: none;
  box-shadow: none;
  border-radius: none;
}

.player__video {
  width: 100%;
}

.player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(48, 48, 48, 0.733);
  width: 100%;
  transform: translateY(90%);
  transition: all 0.2s;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.player:hover > .player__controls {
  transform: translateY(0);
}

.progress {
  flex: 0 0 100%;
  background: rgb(201, 199, 199, 0.7);
  height: 1rem;
  margin: 0rem auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.progress__filled {
  position: absolute;
  background: rgb(86, 1, 197, 0.8);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  z-index: 2;
}

.player__button {
  width: auto;
  padding: 0.5rem;
  height: 3rem;
  border: 0.5px solid #fff;
  border-radius: 0.4rem;
  background: rgba(48, 48, 48, 0.733);
  color: #eee;
  margin: 0 0.3rem;
  display: flex;
}

.player__button:active {
  outline: none;
  border: 0.5px solid rgba(48, 48, 48, 0.733);
  background: #777;
  color: #eee;
}

input[type="range"] {
  -webkit-appearance: none;
  background-color: transparent;
  height: auto;
  flex: 1;
  margin: 0 0.3rem;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 0.3rem;
  cursor: pointer;
  background: #eee;
}
input[type="range"]::-webkit-slider-thumb {
  height: 1.5rem;
  width: 1.5rem;
  background: #ffffff;
  cursor: pointer;
  border-radius: 0.5rem;
  transform: translateY(-0.5rem);
  -webkit-appearance: none;
}
